{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

     <link href="{% static "css/sign_up.css" %}" rel="stylesheet">
</head>
<body>
 <form class="form-signin" method="post" action="/user/sign_up">
     {% csrf_token %}
      <h2 class="form-signin-heading ">用户注册</h2>

         <label for="inputName" class="sr-only">用户名</label>
        <input type="text" id="inputName" name="inputName" class="form-control" placeholder="用户名" required autofocus>
      <label for="inputEmail" class="sr-only">登录邮箱</label>
        <input type="email" id="inputEmail" name="inputEmail" class="form-control" placeholder="登录邮箱" required autofocus>
      <label for="inputPassword" class="sr-only">登录密码</label>
        <input type="password" id="inputPassword" name="inputPassword" class="form-control" placeholder="登录密码" required autofocus>
      <label for="inputRepeatPassword" class="sr-only">重复密码</label>
        <input type="password" id="inputRepeatPassword" name="inputRepeatPassword" class="form-control" placeholder="重复密码" required autofocus>
          {% if error_info %}
              <div class="error_info" >{{ error_info }}</div>
          {% endif %}
     <button class="btn btn-lg btn-primary btn-block form-signin-buttom" type="submit">注册</button>
      </form>
</body>
</html>